package model;


import javax.persistence.*;

import play.*;
import play.db.ebean.*;

@Entity
@Table(name = "stoptimes")
public class StopTimes extends Model{

	

	@Id
	public String arrival_time;
	public String depature_time; 
	@Id
	public String stop_sequence;
	public String pickup_type;
	public String drop_off_type;
	
	
	@ManyToOne
	@JoinColumn(name = "trip_id", referencedColumnName = "trip_id")
	public Trip trip;
	
	@ManyToOne
	@JoinColumn(name = "stop_id", referencedColumnName = "stop_id")
	public Stop stop;
}
